package com.zb.zeus.system.api;

import com.zb.zeus.common.core.web.domain.AjaxResult;
import com.zb.zeus.system.api.factory.RemoteUserFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 用户服务
 *
 * @author zb.zeus
 */
@FeignClient(contextId = "remoteIhrOrgEmpService",
        value = "${feign.ref.service.zeus-system:zeus-system}",
        fallbackFactory = RemoteUserFallbackFactory.class)
public interface RemoteIhrOrgEmpService
{

    /**
     * 查询当前用户的ihr组织数据权限树
     * @param
     * @return
     */
    @GetMapping(value = "/OrgIhrEmployee/getIhrOrgTreeByEmpId")
    AjaxResult getIhrOrgTreeByEmpId();


    /**
     * 查询当前用户的ihr组织数据权限list
     * @param
     * @return
     */
    @GetMapping(value = "/OrgIhrEmployee/getIhrOrgListByEmpId")
    AjaxResult getIhrOrgListByEmpId();

}
